//
//  HandWritingInputView.h
//  etionUI
//
//  Created by wangjian on 12/9/13.
//  Copyright (c) 2013 GuangZhouXuanWu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DrawingView.h"

@class CHandWritingInputView;
@protocol CHandWritingInputViewDelegate <NSObject>

- (void)handWritingInputView:(CHandWritingInputView *)view inputWord:(UIImage *)word inFrame:(CGRect)frame;

@optional
- (BOOL)handWritingInputViewShouldStartInput:(CHandWritingInputView *)view;
- (void)handWritingInputViewDidStartInput:(CHandWritingInputView *)view;

@end

@interface CHandWritingInputView : UIView

@property (nonatomic, assign) id<CHandWritingInputViewDelegate> delegate;
@property (nonatomic, retain) CDrawingTool *drawingTool;

- (void)cancelInput;

@end
